package week07.day01;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

/**
 * 设计一个图书类Book,其中有书号，书名，作者，出版社等属性和输出图书基本信息的方法
 */

public class 上机练习2 {
    public static void main(String[] args) {
        Book book = new Book();
        System.out.println();
    }
}

class Book{
    int Bookid = 213213;
    String Bookname =  "Java从入门到精通";
    String Zuozhe = "李刚";
    String chubanshe =  "清华大学出版社";
    public Book() {
        System.out.println("书号："+Bookid);
        System.out.println("书名："+Bookname);
        System.out.println("作者："+Zuozhe);
        System.out.println("出版社："+chubanshe);
    }
}